<?php
namespace api\web\model;
use think\Model;

class NavModel extends Model
{
    protected $name = 'Navd';
    public function child()
    {
        return $this->hasMany(NavModel::class,'p_id','id');
    }
}
